package cn.yunhe.insurance.entity;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

/**
 * @author 孙敖
 * @date 2018/9/14 14:14
 * 客户表
 *
 */
public class User implements Serializable {
    private String suId;//主键
    private String sname;//客户姓名
    private String  ssex; //客户性别
    private int    sage;// 客户年龄
    private String sphone;//电话号码
    private String scardId;//身份证号
    private String saddress;//客户地址
    private int    svip;//客户vip等级
    private int    status;//赔付状态
    private int    sblackList;//黑名单
    private String s_emp;//添加客户的员工
    private Set<Order> orders=new HashSet<Order>();
    private User user;




    /**
     * 生成的get和set方法
     * @return
     */
    public String getSuId() {
        return suId;
    }

    public void setSuId(String suId) {
        this.suId = suId;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getSsex() {
        return ssex;
    }

    public void setSsex(String ssex) {
        this.ssex = ssex;
    }

    public int getSage() {
        return sage;
    }

    public void setSage(int sage) {
        this.sage = sage;
    }

    public String getSphone() {
        return sphone;
    }

    public void setSphone(String sphone) {
        this.sphone = sphone;
    }

    public String getScardId() {
        return scardId;
    }

    public void setScardId(String scardId) {
        this.scardId = scardId;
    }

    public String getSaddress() {
        return saddress;
    }

    public void setSaddress(String saddress) {
        this.saddress = saddress;
    }

    public int getSvip() {
        return svip;
    }

    public void setSvip(int svip) {
        this.svip = svip;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getSblackList() {
        return sblackList;
    }

    public void setSblackList(int sblackList) {
        this.sblackList = sblackList;
    }

    public String getS_emp() {
        return s_emp;
    }

    public void setS_emp(String s_emp) {
        this.s_emp = s_emp;
    }

    public Set<Order> getOrders() {
        return orders;
    }

    public void setOrders(Set<Order> orders) {
        this.orders = orders;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }


    @Override
    public String toString() {
        return "User{" +
                "suId='" + suId + '\'' +
                ", sname='" + sname + '\'' +
                ", ssex='" + ssex + '\'' +
                ", sage=" + sage +
                ", sphone='" + sphone + '\'' +
                ", scardId='" + scardId + '\'' +
                ", saddress='" + saddress + '\'' +
                ", svip=" + svip +
                ", status=" + status +
                ", sblackList=" + sblackList +
                ", s_emp='" + s_emp + '\'' +
                ", orders=" + orders +
                ", user=" + user +
                '}';
    }
}

